package com.sojson.util.file.bean;

import com.sojson.base.impl.BaseUtilDto;

import lombok.Data;

/**
 * 文件上传对象
 *
 * @author liu
 * @date 2020-08-27
 */
@Data
public class UploadBean extends BaseUtilDto {

    private static final long serialVersionUID = 1L;
    /** 桶名 */
    private String bucketName;
    /** 唯一标识 */
    private String objectName;

    public UploadBean() {}

    public UploadBean(String objectName) {
        this.objectName = objectName;
    }

    public UploadBean(String bucketName, String objectName) {
        this.bucketName = bucketName;
        this.objectName = objectName;
    }

}